body {
	font-family: Arial, sans-serif;
	background: linear-gradient(to right, #36d1dc, #5b86e5);
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	min-height: 100vh;
	overflow: hidden;
}
#calculator {
	width: 90%;
	max-width: 600px;
	padding: 20px;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
#orders {
	width: 45%;
}
#actions {
	width: 45%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}
#calculator input,
button {
	width: 100%;
	margin-bottom: 20px;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	font-size: 14px;
}
.order {
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 4px;
	height: 40px;
}
.order label {
	font-weight: bold;
	color: #303133;
}
button {
	cursor: pointer;
	background-color: #409eff;
	color: #fff;
	border: none;
}
button:hover {
	background-color: #66b1ff;
}
#commission {
	font-size: 48px;
	color: red;
	border: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0;
}

input[type='number'] {
	appearance: textfield;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	border-radius: 10px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
.rule {
	width: 100%;
	text-align: right;
	font-size: 12px;
	color: #888;
	cursor: pointer;
}

#commissionTable {
	width: 100%;
	border-collapse: collapse;
}

#commissionTable th,
#commissionTable td {
	padding: 8px;
	border: 1px solid #ddd;
	text-align: center;
}
#commissionTable td:nth-child(2) {
	text-align: left;
}

#commissionTable th {
	background-color: #f2f2f2;
}

#commissionTable tr:nth-child(even) {
	background-color: #f9f9f9;
}

#commissionTable tr:hover {
	background-color: #f5f5f5;
}
